package com.jsu.dao;

import com.jsu.bean.Matched;
import com.jsu.bean.MatchedExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MatchedMapper {
    int countByExample(MatchedExample example);

    int deleteByExample(MatchedExample example);

    int deleteByPrimaryKey(Integer matchId);

    int insert(Matched record);

    int insertSelective(Matched record);

    List<Matched> selectByExample(MatchedExample example);

    Matched selectByPrimaryKey(Integer matchId);

    int updateByExampleSelective(@Param("record") Matched record, @Param("example") MatchedExample example);

    int updateByExample(@Param("record") Matched record, @Param("example") MatchedExample example);

    int updateByPrimaryKeySelective(Matched record);

    int updateByPrimaryKey(Matched record);

	int insertBatch(List<Matched> list);

	List<Integer> selectFoundByLost(List<Integer> lostMessageIds);

	void updateTypeByLost(List<Integer> lostMessageIds);
}